<%@ page import="com.it.pojo.SysUser" %>
<%@ page import="java.util.Map" %>
<%@ page pageEncoding="utf-8"%>
<!doctype html>
<html>
	<head>
		<meta charset="utf-8"/>
		<link>
		<script type="text/javascript" src="/resources/js/jquery-1.11.3.min.js"></script>
		<script type="text/javascript" src="/resources/js/commons.js"></script>
		<link rel="stylesheet" type="text/css" href="/resources/css/commons.css" />
		<style>
			body{ background:#222D32;margin:0px; }
		</style>
		<script type="text/javascript">
			$(function () {
				var loginUserRoleId = '<%= session.getAttribute("loginUserRoleId") %>';
				if(loginUserRoleId == '1'){
					$("#admin_menu").show();
					$("#customer_menu").hide();
				}else if(loginUserRoleId == '2'){
					$("#admin_menu").hide();
					$("#customer_menu").show();
				}
			});

		</script>
	</head>

	<body>
	<%--	<div class="menu-bar">--%>
	<%--		<a href="right">› 欢迎页</a>--%>
	<%--	</div>--%>
	<div id="admin_menu" style="display: none">
		<div class="menu-bar">
			<a href="sysFoodList" target="rightFrame">› 菜品管理</a>
		</div>
		<div class="menu-bar">
			<a href="sysOrderList" target="rightFrame">› 订单管理</a>
		</div>
		<div class="menu-bar">
			<a href="sysUserList" target="rightFrame">› 用户管理</a>
		</div>
		<div class="menu-bar">
			<a href="sysRoleList" target="rightFrame">› 角色管理</a>
		</div>
	</div>

	<div id="customer_menu" style="display: none">
		<div class="menu-bar">
			<a href="clDishesPage" target="rightFrame">› 我要点餐</a>
		</div>
		<div class="menu-bar">
			<a href="clOrderList" target="rightFrame">› 我的订单</a>
		</div>
		<div class="menu-bar">
			<a href="sysUserList" target="rightFrame">› 我的信息</a>
		</div>
<%--		<div class="menu-bar">--%>
<%--			<a href="clAddressList" target="rightFrame">› 我的地址</a>--%>
<%--		</div>--%>
		<div class="menu-bar">
			<a href="clReplyList" target="rightFrame">› 我评价的</a>
		</div>
	</div>

	</body>
</html>